<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Login</title>
</head>
<body>
    <form action='/login/' method='post'>
        {% csrf_token %}
        <input type='text' name='uname' id='uname'>
        <input type='password' name='pwd' id='pwd'>
        <input type='submit' value='login'> 
    </form>
    <p>Your username: {{ logininfo.uname }}</p>
    <p>Your password: {{ logininfo.pwd }}</p>
</body>
</html>